package com.blb.examsystem.service;

import com.blb.common.entity.PageBean;
import com.blb.common.entity.QuestionSet;


public interface QuestionSetService {

    //分页
    PageBean<QuestionSet> findPage(int current);

    //按标题查找后分页
    PageBean<QuestionSet> findPageByTitle(String title, int current);

    //添加
    int addQuestionSet(QuestionSet questionSet);

    //按id查找
    QuestionSet findById(int id);

    //更新
    int modifyQuestionSet(QuestionSet questionSet);

    //删除
    int removeQuestionSet(int id);

}
